<template>
    <p>这是一个全局组件</p>
</template>

<script>
export default{
    name:"GlobalComDemo"
}
</script>

<style scoped>
p{
    color: red;
}
</style>